package com.infindo.appcreate.zzyj.util;

public class TimerUtil {
	long start;
	long end;

	public void start() {
		start = System.nanoTime();
	}

	public void stop() {
		end = System.nanoTime();
	}

	public double getTime() {
		long time = this.end - this.start;
		double t = ((double) time) / 1000000000;
		return t;
	}
}
